package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.model.dao.app.UserVoiceDriftDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UserVoiceDriftDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserVoiceDriftDO record);

    int insertSelective(UserVoiceDriftDO record);

    UserVoiceDriftDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserVoiceDriftDO record);

    int updateByPrimaryKey(UserVoiceDriftDO record);

    Integer getReviewUserVoiceDriftCount(@Param("startTime") String startTime,
                                         @Param("endTime") String endTime);
}